const api  ={};
//本地环境域名
const BASEURL = 'http://127.0.0.1:5555/appletservice/';

//服务器环境域名
//const BASEURL = 'http://47.94.132.72:5555/appletservice/';

api.applets={
  findall:function(){
    return BASEURL + 'user/find/all'
  },

  deleteuser:function(){
    return BASEURL + 'user/delete'
  },

  getuser:function(){
    return BASEURL + 'user/id'
  },

  updateuser:function(){
    return BASEURL + 'user/update';
  },

  adduser:function(){
    return BASEURL + 'user/add'
  }

}
export default api 